package com.kgc.lab;

public class Rabbit extends Animal{

    public void eat(){
        System.out.println("兔子吃菜");
    }

    public Rabbit(String name, int age) {
        super(name, age);
    }

    public void sleep(){
        System.out.println(this.getName() + "正在睡觉 Zzzz");
    }
}
